<template>
  <h3>resource</h3>
  <button v-debounce="() => fn(10)">按钮</button>
</template>
<script setup lang="ts">
const fn = (val: number) => {
  console.log(val);

  console.log("resource");
};
</script>
<style lang="less" scoped></style>
